package com.tmall.tmall.service;

import com.tmall.tmall.pojo.Category;
import com.tmall.tmall.pojo.PageRt;

import java.util.List;

public interface CategoryService {
    PageRt page(Integer pageNum, Integer pageSize,String name,Integer mid);

    Category getByName(Category category);

    void insert(Category category);

    List<Category> getByMid(Integer mid);

    void update(Category category);

    void deleteByIds(List<Integer> ids);

    List<Category> selectAll();
}
